<div class="matter">
    <div class="container">

        <!-- Table -->

        <div class="row">

            <div class="col-md-12">

                <div class="widget">

                    <div class="widget-head">
                        <div class="pull-left">Merchant for Audit</div>
                        <div class="widget-icons pull-right">
                            <a href="#" class="wminimize"><i class="icon-chevron-up"></i></a>
                            <a href="#" class="wclose"><i class="icon-remove"></i></a>
                        </div>
                        <div class="clearfix"></div>
                    </div>

                    <div class="widget-content">

                        <table class="table table-striped table-bordered table-hover" id="auditList">
                            <thead>
                                <tr>
                                    <th>#</th>
                                    <th>Name</th>
                                    <th>Control</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr ng-repeat="merchant in vm.merchants | orderBy : 'name'">
                                    <td>{{ $index + 1 }}</td>
                                    <td>{{ merchant.name }}</td>
                                    <td>
                                        <button id="detail" class="btn btn-xs btn-warning" ng-click=" vm.lookMerchantDetail(merchant._id)">audit</button>
                                    </td>
                                </tr>
                            </tbody>
                        </table>

                        <div class="widget-foot">
                            <div class="uni pull-left">
                                <select class="form-control" id="list_selector">
                                    <option><a ng-href="/#!/manager/audit">Audit</a></option>
                                    <option><a ng-href="/#!/manager/bwControl/black_list">Black</a></option>
                                    <option><a ng-href="/#!/manager/bwControl/white_list">White</a></option>
                                </select>
                            </div>

                            <ul class="pagination pull-right">
                                <li><a href="#">Prev</a></li>
                                <li><a href="#">1</a></li>
                                <li><a href="#">Next</a></li>
                            </ul>

                            <div class="clearfix"></div>

                        </div>

                    </div>

                </div>


            </div>

        </div>

    </div>
</div>